package com.support.annotation;

import com.youshang520i.condition.MyCondition;
import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

/**
 * @author youshang
 */
@Conditional(MyCondition.class)
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ConditionOnClass {
    Class<?> clazz();
}
